<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:h="http://java.sun.com/jsf/html">

<ui:composition template="/resources/templade/templade.xhtml">

	<ui:define name="contenido">



		<h:form>

#{p.component("var")}

		<p:dataList id="var" value="#{session.valueNames}" paginator="true"
				paginatorPosition="top" rows="2" var="estatus">
                    
                    #{estatus}
        </p:dataList>


			<p:commandButton oncomplete="dlg2.show()" value="Open" update="dlg2" />
			<p:dialog id="dlg2" header="Modal Dialog" widgetVar="dlg2"
				position="top" dynamic="true" modal="true">
				<h:outputText value="This is a Modal Dialog." />

			</p:dialog>

		</h:form>
	</ui:define>


</ui:composition>

</html>


